package com.heima.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.article.dto.ArticleHomeDto;
import com.heima.model.article.entity.Article;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author dongcy
 * @date 2024/11/6 17:11
 * @description ArticleMapper
 */
@Mapper
public interface ArticleMapper extends BaseMapper<Article> {

    List<Article> loadArticleList(@Param("dto") ArticleHomeDto dto,@Param("type") Short loadtype);

}
